package com.yinhe.music.yhmusic.network.response;

/**
 * Created by Zaifeng on 2018/2/28.
 * 返回结果封装
 */

public class Response<T> {

    /**
     * 返回的code
     */
    private int code;
    /**
     * 具体的数据结果
     */
    private T data;
    /**
     * 返回接口的说明
     */
    private String message;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

    public String getMsg() {
        return message;
    }

    public void setMsg(String msg) {
        this.message = msg;
    }
}
